<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>样式绑定</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <style>
        .active {
            color:red;
        }
        .danger{
            font-size: 20px;
        }
        .error{
            font-weight: bolder;
        }
    </style>
</head>
<body>
<div id="app">
    <p :style="{color:colorStyle}">dap高级研发讨论组</p>
</div>
<script>

    let vm = new Vue({
        el: "#app",
        data: {
            colorStyle: 'red'
        }
    });
</script>
</body>
</html>